package com.example.mall.mapper;

import com.example.mall.pojo.SystemUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SystemUserMapper {

    @Select("select * from sp_manager where mg_name=#{mg_name} and mg_pwd=#{mg_pwd}")
    SystemUser login(@Param("mg_name") String username, @Param("mg_pwd") String Password);
}
